package heima3_2.cn.osc.ui.activity;

import android.support.v4.app.Fragment;

import java.util.ArrayList;
import java.util.List;

import heima3_2.cn.osc.base.OurTabBaseActivity;
import heima3_2.cn.osc.ui.user_collocet_fragment.BlogFragment;
import heima3_2.cn.osc.ui.user_collocet_fragment.CodeFragment;
import heima3_2.cn.osc.ui.user_collocet_fragment.InfoFragment;
import heima3_2.cn.osc.ui.user_collocet_fragment.SoftFragment;
import heima3_2.cn.osc.ui.user_collocet_fragment.TopicFragment;

public class UserCollectActivity extends OurTabBaseActivity {
    String[] mTitles = new String[]{"软件","话题","代码","博客","资讯" };
    @Override
    protected String[] getTitleArray() {
        return mTitles;
    }

    @Override
    protected List<Fragment> getFragmentList() {
        List<Fragment> list = new ArrayList<>();
        list.add(new SoftFragment());
        list.add(new TopicFragment());
        list.add(new CodeFragment());
        list.add(new BlogFragment());
        list.add(new InfoFragment());
        return list;
    }

    @Override
    protected String getTitleText() {
        return "用户收藏";
    }
}



